﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="/js/scenario2-stringTemplate.js"></script>
</head>
<body>
    <div>
        <h2 id="sampleHeader" class="win-type-subheader">Description:</h2>
        <div id="scenarioDescription">
            <p>
                Formats the current date and time using
                custom formats that are specified using a template string.
                This can be used when the requirements for the
                date presentation do not match the “short” or “long” form.
            </p>
            <p>
                For example, if the app requires only a month and a day
                or a month and a year,
                or needs to combine date and times with time zone information,
                this method allows the app to present only those date elements
                in a format that respects the user's preferences.
            </p>
        </div>
        <p>
            <button id="displayButton" class="win-button">Display</button>
        </p>
        <p id="output" />
    </div>
</body>
</html>
